<script setup lang="ts">
import MyDialog from './components/MyDialog.vue';


</script>
<template>
    <MyDialog>
        <template #title>
            <h3 class="message">警告</h3>
        </template>
        
            <p class="message">确定要删除吗</p>
        <template v-slot:butt>
            <button>1</button>
            <button>2</button>
        </template>
    </MyDialog>
</template>

<style scoped>
.message{
    color: red;
}
</style>
